import request from '@/utils/request'

// 查询班级信息分页列表
export function classlist(query) {
    return request({
        url: '/system/class/list',
        method: 'get',
        params: query
    })
}

// 新增班级信息
export function classAdd(query) {
    return request({
        url: '/system/class',
        method: 'post',
        data: query
    })
}

// 修改班级信息
export function classEdit(query) {
    return request({
        url: '/system/class',
        method: 'put',
        data: query
    })
}

// 删除班级信息
export function classDel(query) {
    return request({
        url: '/system/class/batchRemove',
        method: 'post',
        data: query
    })
}